/// 单聊数据模型
class SingleChatPrint {
  final String id;
  final String userId1; // 用户1 ID
  final String userId2; // 用户2 ID
  final DateTime createdAt; // 创建时间

  SingleChatPrint({
    required this.id,
    required this.userId1,
    required this.userId2,
    required this.createdAt,
  });
}

/// 单聊消息数据模型
class SingleChatMessagePrint {
  final String id;
  final String chatId; // 单聊ID
  final String senderId; // 发送者ID
  final String messageType; // 'text' 或 'call_failed'
  final String content; // 消息内容
  final DateTime createdAt; // 发送时间

  SingleChatMessagePrint({
    required this.id,
    required this.chatId,
    required this.senderId,
    required this.messageType,
    required this.content,
    required this.createdAt,
  });
}
